﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using MaxLeaf.KH.Contract;
using MaxLeaf.KH.DALImplementation;
using MaxLeaf.KH.DataContract;
using CommonsLib.Utility;
using CommonsLib.Settings;

namespace MaxLeaf.KH.DALServer
{
    // 注意: 使用“重构”菜单上的“重命名”命令，可以同时更改代码、svc 和配置文件中的类名“TestDALServer”。
    public class TestDALServer :BaseDALServer, ITest
    {

        public TestModel SayHello(TestModel user)
        {
            LogManager.Debug("DALserver SayHello ");
            TestDAL dal = new TestDAL();

            
                return dal.SayHello(user);
             
            
        }

        public string ShowError(string strName)
        {
            TestDAL dal = new TestDAL();
             
                return dal.ShowError(strName);
             
            
        }

        #region ITest 成员


        public List<object> SelectDtl(TestModel user)
        {
            TestDAL dal = new TestDAL();


            return dal.SelectDtl(user);
        }

        #endregion
    }
}
